#include <stdio.h>

enum weekday {sun, mon, tue, wed, thu, fri, sat};

int main(void)
{
	enum weekday today, tomorrow;
	char *s[] = {"sun", "mon", "tue", "wed", "thu", "fri", "sat"};
	int day;
	
	printf("What day is today?(0--sun, 1--mon, 2--tue, 3--wed, 4--thu, 5--fri, 6--sat): ");
	scanf("%d", &day);
	today = (enum weekday)day;
	if (sat == today)
		tomorrow = sun;
	else
		tomorrow = (enum weekday)(today + 1);
	printf("Tomorrow is %s.\n", s[tomorrow]);

	return 0;
}